<?php
class view{
	public static function show(){
		
		$compiler = new \Xiaoler\Blade\Compilers\BladeCompiler('cache');
		$engine = new \Xiaoler\Blade\Engines\CompilerEngine($compiler);
		$finder = new \Xiaoler\Blade\FileViewFinder(array('views'));
		$factory = new \Xiaoler\Blade\Factory($engine,$finder);
		return $factory;
	}
}